<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<link rel="stylesheet" type="text/css" href="../user/table.css" >
<script type="text/javascript">
	
</script>
<body>
	<form method="post" action="../servlet/VetUpdate" id="form"">
		<input type="hidden" name="type" value="do"/>
		<table>
			<tr>
				<td>ID</td>
				<td><input type="text" readonly="readonly" name="id" value="${vet.id}"/></td>
			</tr>
			<tr>
				<td>姓名</td>
				<td><input type="text" name ="name" value="${vet.name}"/></td>
			</tr>
			<tr>
				<td>地址</td>
				<td><input type="text" name = "address" value="${vet.address}" /></td>
			</tr>
			<tr>
				<td>电话</td>
				<td><input type="text" name="telephone" value="${vet.telephone}" /></td>
			</tr>
			<tr>
				<td>专长</td>
				<td>
					<select name="specId">
						<c:forEach items="${specList}" var="spec">
							<option value="${spec.id}">${spec.name }</option>
						</c:forEach>
					</select>
				</td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="保存"/></td>
			</tr>
		</table>
	</form>
</body>
</html>